package com.groupbuying.settleconsumer.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.groupbuying.settleconsumer.dao.SettleUshopFlowStoreDao;
import com.groupbuying.settleconsumer.domain.SettleUshopFlowStoreDO;
import com.groupbuying.settleconsumer.service.SettleUshopFlowStoreService;



@Service
public class SettleUshopFlowStoreServiceImpl implements SettleUshopFlowStoreService {
	@Autowired
	private SettleUshopFlowStoreDao settleUshopFlowStoreDao;
	
	@Override
	public SettleUshopFlowStoreDO get(String id){
		return settleUshopFlowStoreDao.get(id);
	}
	
	@Override
	public List<SettleUshopFlowStoreDO> list(Map<String, Object> map){
		return settleUshopFlowStoreDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return settleUshopFlowStoreDao.count(map);
	}
	
	@Override
	public int save(SettleUshopFlowStoreDO settleUshopFlowStore){
		return settleUshopFlowStoreDao.save(settleUshopFlowStore);
	}
	
	@Override
	public int update(SettleUshopFlowStoreDO settleUshopFlowStore){
		return settleUshopFlowStoreDao.update(settleUshopFlowStore);
	}
	
	@Override
	public int remove(String id){
		return settleUshopFlowStoreDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return settleUshopFlowStoreDao.batchRemove(ids);
	}
	
}
